home *** CD-ROM | disk | FTP | other *** search
- package sun.util;
-
- import java.util.Iterator;
- import java.util.NoSuchElementException;
-
- final class PreHashedMap$1$1 implements Iterator<String> {
- // $FF: renamed from: i int
- private int field_0;
- // $FF: renamed from: a java.lang.Object[]
- Object[] field_1;
- String cur;
- // $FF: synthetic field
- final PreHashedMap.1 this$1;
-
- PreHashedMap$1$1(PreHashedMap.1 var1) {
- this.this$1 = var1;
- this.field_0 = -1;
- this.field_1 = null;
- this.cur = null;
- }
-
- private boolean findNext() {
- if (this.field_1 != null) {
- if (this.field_1.length == 3) {
- this.field_1 = this.field_1[2];
- this.cur = (String)this.field_1[0];
- return true;
- }
-
- ++this.field_0;
- this.field_1 = null;
- }
-
- this.cur = null;
- if (this.field_0 >= PreHashedMap.access$100(this.this$1.this$0)) {
- return false;
- } else {
- if (this.field_0 < 0 || PreHashedMap.access$200(this.this$1.this$0)[this.field_0] == null) {
- do {
- if (++this.field_0 >= PreHashedMap.access$100(this.this$1.this$0)) {
- return false;
- }
- } while(PreHashedMap.access$200(this.this$1.this$0)[this.field_0] == null);
- }
-
- this.field_1 = PreHashedMap.access$200(this.this$1.this$0)[this.field_0];
- this.cur = (String)this.field_1[0];
- return true;
- }
- }
-
- public boolean hasNext() {
- return this.cur != null ? true : this.findNext();
- }
-
- public String next() {
- if (this.cur == null && !this.findNext()) {
- throw new NoSuchElementException();
- } else {
- String var1 = this.cur;
- this.cur = null;
- return var1;
- }
- }
-
- public void remove() {
- throw new UnsupportedOperationException();
- }
- }
-